package com.yy.wga.goods.service.api.response.product;

import com.alibaba.fastjson.annotation.JSONField;
import com.yy.wga.goods.service.api.response.BaseApiDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class PromoteProductListDTO extends BaseApiDTO implements Serializable {

    @JSONField(name = "product_list")
    private List<Product> productList;

    @JSONField(name = "next_key")
    private String nextKey;

    @Data
    public static class Product {
        @JSONField(name = "product_id")
        private String productId;

        @JSONField(name = "shop_appid")
        private String shopAppid;
    }
}